Query(Span<int>, Type, Type, Type)

Method

Namespace: Ignis

Declared in: Ignis.IEntityManager


Queries entity IDs that have the specified components and populates the resulting Span.

Syntax

public ReadOnlySpan<int> Query(
	Span<int> storage,
	Type component1,
	Type component2,
	Type component3
)

Returns

Slice of the original span that contain the query results. IDs that don't fit in the Span are skipped.


Back to index